﻿<Window x:Class="agile_tool.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Window.Resources>

        <Storyboard x:Key="rtt" >
            
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" 
	Storyboard.TargetName="brdrAngle" 
	Storyboard.TargetProperty="(Angle)">

                <SplineDoubleKeyFrame KeyTime="00:00:00.05"  Value="3"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.10" Value="-3"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.15" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.20" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.30" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.31" Value="0"/>
                <!--   <SplineDoubleKeyFrame KeyTime="00:00:00.05"  Value="5"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.10" Value="-5"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.15"  Value="5"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.20" Value="-5"/> 
                <SplineDoubleKeyFrame KeyTime="00:00:00.25" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.30" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.32" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.34" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.36" Value="2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.38" Value="-2"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.40" Value="0"/> -->
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>

        <Storyboard x:Key="closeTheLogin">
            <DoubleAnimation Storyboard.TargetName="brdrLogin" Storyboard.TargetProperty="(Height)" From="108" To="0" Duration="0:0:1" AutoReverse="False"  />
        </Storyboard>
        <Storyboard x:Key="openTheLogin">
            <DoubleAnimation Storyboard.TargetName="brdrLogin" Storyboard.TargetProperty="(Height)" From="0" To="108" Duration="0:0:1" AutoReverse="False"  />
        </Storyboard>
                    
    </Window.Resources>
   
    <StackPanel>
        <Border BorderBrush="Black" BorderThickness="3" CornerRadius="6">
        <StackPanel Name="spHeader" Height="40" >
                <DockPanel Visibility="Collapsed">
                    <TextBox Height="23" Name="tbSeatch" Width="150" />
                    <Button Content="Search" Height="23" Name="btnSearch" Width="75" Click="btnSearch_Click" />
                    <StackPanel HorizontalAlignment="Right"  Height="28" Orientation="Horizontal">
                        <TextBlock Height="23" Name="tbName" Text="" HorizontalAlignment="Right" Margin="4" />
<Button Content="logout" Height="23" Name="btnLogout" Width="58" Margin="0,0,3,0" Visibility="Collapsed" Click="btnLogout_Click_1" />
                    </StackPanel>

                </DockPanel> 
                <StackPanel Height="42" Name="spNavigation" Orientation="Horizontal" HorizontalAlignment="Left">
                    
                </StackPanel>
                </StackPanel>
        </Border>
        <StackPanel>
        <Border  Name="brdrLogin" BorderBrush="Black"  BorderThickness="3" CornerRadius="6" Height="108" Width="255" Margin="0,50,0,0" MouseEnter="brdrLogin_MouseEnter">
        <Border.RenderTransform>
            <RotateTransform x:Name="brdrAngle" Angle="0" CenterX="130" CenterY="60"></RotateTransform>
        </Border.RenderTransform>
                <StackPanel VerticalAlignment="Center">
                    <Button Content="Resources" Height="23" Margin="0,0,0,12"  Name="btnResource"  Click="btnResource_Click" MouseEnter="btnResource_MouseEnter" />
                    <Button Content="Projects" Height="23"  Name="btnProjects"   Click="btnProjects_Click" MouseEnter="btnProjects_MouseEnter" />
        </StackPanel>

            </Border>
            <StackPanel Visibility="Collapsed">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" >
                    <Label Content="User Name" Height="28" Width="70" HorizontalAlignment="Left" Name="label2" />

                    <TextBox Height="23" Name="textBox1" VerticalAlignment="Top" Width="130 " />
                </StackPanel>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                    <Label Content="Password " Height="28" Name="label1" Width="70" />
                    <PasswordBox Height="23"  Name="textBox2" Width="130" />
                </StackPanel>
                <Button Content="Login" Height="23"  Name="button1"  Width="75" Click="button1_Click" />
            </StackPanel>
            <StackPanel Name="spBody"></StackPanel>
        </StackPanel>

    </StackPanel>
</Window>
